name = UAZ
module = CommandPod
author = tosh@bk.ru || Original Model by Andrey Makrushin || chickenplucker (1.4 update)
// See http://www.artblock.ru/html/downloadmodels.htm for an original 
// model and its terms of use.

mesh = model.mu
scale = 1

node_attach =  0.02, 0.0, 0, 0, 1, 0
node_stack_top = 0.02, 0.9, 0, 0, 1, 0
node_stack_top = 0.02, 0.9, -0.6, 0, 1, 0
node_stack_bottom = 0.02, -0.33, 0, 0, 1, 0

cost = 1600
category = Pods
subcategory = 0
manufacturer = H&S Tinkering Workshop
title = UAZ-469
description = A Soviet military jeep UAZ-469. Slow and clumsy. Controls:  <IJKL> keys, <N>/<B> for brakes/handbrake, <O> for cruise control and <U> for headlights. Cart.dll plugin is required. A massive scientific breakthrough has resulted in this vehicle being usable as a command pod.
    
attachRules = 1,1,1,1,0

mass = 0.5
dragModelType = default
maximum_drag = 0.3
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 1e30
breakingForce = 1e30
breakingTorque = 1e30
maxTemp = 3400

/ --- internal setup ---
CrewCapacity = 4

// --- pod/rcs parameters ---

rotPower = 5
linPower = 5

Kp = 1.0
Kd = 1.0

MODULE
{
	name = ModuleCommand
	minimumCrew = 1
}

INTERNAL
{
  name = PodCockpit
}

// ---------- CART PARAMETERS ---------- 

MODULE{

name = modulecleverlegacycart

// Engine:
// FrictionTorque is limiting cart's top speed and coasting distance.
forwardTorque = 0.7
backwardTorque = 0.4
brakeTorque = 2
frictionTorque = 0.012

// Friction:
// See WheelFrictionCurve.stiffness. 0 -- no friction (wheels always
// slip).
forwardFriction = 1
sidewaysFriction = 1

// Steering:
// When speed is less than steerLimitSpeed then maxSteerAngle is
// used. When speed is higher then steering is reverse-proportional
// to speed (steerSpeedFalloff being the coefficient).
// SteerVisisbility is the coefficient for wheel animation.
maxSteerAngle = 13
steerLimitSpeed = 5
steerSpeedFalloff = 2
steerVisibility = 2.1

// If deployable is true then wheels can be deployed/teracted with
// a "landing gear" key; deployTime being the process duration, in
// seconds.
wheelMass = 0.1
suspensionSpring = 3
suspensionDamper = 0.1
deployable = false
deployTime = 0.5

// Compensation:
// Forces pushing cart to the ground at the Mun (compensationLowGee)
// and when moving at high speed (compensationSpeed).
compensationLowGee = 1
compensationSpeed = 0.05 

// Lights:
// Intensity is ( 0..8 ), range in meters, angle in degrees.
lightIntensity = 0.5
headLightIntensity = 1
lightRange = 5
headLightRange = 500
lightSpotAngle = 120
headLightSpotAngle = 70

// Light colors (Red, Green and Blue, range 0..1): 
headLightColor = 1, 1, 1
stopLightColor = 1, 0, 0
parkingLightColor = 1, 0.92, 0

// Key bindings:
// A key code to which a specific action is bound (like "k" or "B" or 
// "up" or "[6]" for Numpad6). For a list of available key codes see
// http://unity3d.com/support/documentation/Manual/Input.html
keyToggleLights = u
keyBrake = n
keyHandBrake = b
// A key to deploy/retract wheels (if "deployable = true" in "Engine" 
// section) is the same as landing gear key in KSP game settings.

// Valid values: an empty string (no control), "X", "Y", "Z", "Pitch", 
// "Yaw", "Roll", "Throttle" (not recommended as the reverse gear is 
// not implemented yet), and optionally "Reversed". For example,
//    Pitch
// or
//    Z Reversed
axisMotor = Y Reversed
axisSteer = X Reversed
}
